package com.ssy.lingxi.purchase.api.dto.response;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 采购门户返回实体
 * @author fhj
 * @date 2021/02/23
 * @version 2.0.0
 */
@Data
public class PurchaseDoorResponse {

    @ApiModelProperty(value = "ID")
    private Long id;

    @ApiModelProperty(value = "会员ID")
    private Long memberId;

    @ApiModelProperty(value = "角色ID")
    private Long roleId;

    @ApiModelProperty(value = "公司LOGO")
    private String logo;

    @ApiModelProperty(value = "公司简介")
    private String describe;

    @ApiModelProperty(value = "累计采购次数")
    private Integer purchaseNum = 0;

    @ApiModelProperty(value = "累计采购询价次数")
    private Integer purchaseInquiryNum = 0;

    @ApiModelProperty(value = "累计招标次数")
    private Integer tenderNum = 0;

    @ApiModelProperty(value = "累计竞价次数")
    private Integer bidNum = 0;

    @ApiModelProperty(value = "累计采购金额")
    private Double purchaseTotalPrice = 0.00;

    @ApiModelProperty(value = "创建时间")
    private Long createTime = System.currentTimeMillis();

    @ApiModelProperty(value = "归属地市（冗余）")
    private String areas;

    @ApiModelProperty(value = "会员名称（冗余）")
    private String memberName;

    @ApiModelProperty(value = "会员等级名称（冗余）")
    private String levelTag;

    @ApiModelProperty(value = "注册年数（冗余）")
    private Integer registerYears;

    @ApiModelProperty(value = "信用积分（冗余）")
    private Integer creditPoint = 0;

    @ApiModelProperty(value = "满意度（冗余）")
    private Integer avgTradeCommentStar = 5;

    @ApiModelProperty(value = "状态：0-冻结 1-正常（冗余）")
    private Integer status = 1;
}
